package com.st.springbootswagger.mapper;

import com.st.springbootswagger.domain.SysUser;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author zhangli
* @description 针对表【sys_user(用户信息表)】的数据库操作Mapper
* @createDate 2023-09-22 14:12:44
* @Entity com.st.domain.SysUser
*/
public interface SysUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    @Select("select * from sys_user")
    List<SysUser> getList();
}
